# -*- coding: utf-8 -*- 
#
# Description:
#
#  Definiton
#
#
#
# Changes:
#
# 2012-01-10
# Initial Commit
#
#
# Copyright 2010-2012, WyDev Team.
# Author: Polo35 (polo35580@hotmail.fr)
#
# Licenced under Academic Free License version 3.0
# Review WyGui README & LICENSE files for further details.

nname: 0
n 0(None)[Window.__init__(self)
self.title = title
self.eventhandler = NullEventHandler(self)
]:
	i: 
	o: 

self.nodes: {0: <unpyclib.structure.node instance at 0xb775e2ac>}
nname: 0
n 0(None)[return self._progress
]:
	i: 
	o: 

self.nodes: {0: <unpyclib.structure.node instance at 0xb7757fcc>}
nname: 0
n 0(None)[return self._mute
]:
	i: 
	o: 

self.nodes: {0: <unpyclib.structure.node instance at 0xb7757f8c>}
nname: 0
n 0(None)[self._mute = mute
]:
	i: 
	o: 

self.nodes: {0: <unpyclib.structure.node instance at 0xb7757fcc>}
nname: 20
n 20(None)[return 'volume-icon.png'
]:
	i: 9(), 16()
	o: 

nname: 16
n 16(None)[]:
	i: 0(f)
	o: 20()

nname: 9
n 9(None)[]:
	i: 0(t)
	o: 20()

nname: 0
n 0(self.mute)[]:
	i: 
	o: 9(t), 16(f)

nname: 0
n 0(None)[if self.mute:
	pass
return 'volume-icon.png'
]:
	i: 
	o: 

self.nodes: {0: <unpyclib.structure.node instance at 0xb775e1ec>}
nname: 6
n 6(None)[__doc__ = '\n    A simple window showing current sound level\n    '
type = 'soundlevel'
_progress = 0
_mute = False
def __init__(self, title='Sound', description=''):
	Window.__init__(self)
	self.title = title
	self.eventhandler = NullEventHandler(self)

def _get_progress(self):
	return self._progress

_set_progress = gui_updater()
progress = property(_get_progress, _set_progress)
del _get_progress
del _set_progress
def _get_mute(self):
	return self._mute

def _set_mute(self, mute):
	self._mute = mute

mute = property(_get_mute, _set_mute)
del _get_mute
del _set_mute
def _get_icon(self):
	if self.mute:
		pass
	return 'volume-icon.png'

icon = property(_get_icon)
]:
	i: 
	o: 

self.nodes: {6: <unpyclib.structure.node instance at 0xb77578cc>}
nname: 0
n 0(None)[Window.__init__(self)
self.title = title
self.eventhandler = NullEventHandler(self)
self.icon = 'mute-icon.png'
]:
	i: 
	o: 

self.nodes: {0: <unpyclib.structure.node instance at 0xb7757c0c>}
nname: 6
n 6(None)[__doc__ = '\n    A simple window showing current Mute state\n    '
type = 'mute'
persistent = True
def __init__(self, title='Mute', description=''):
	Window.__init__(self)
	self.title = title
	self.eventhandler = NullEventHandler(self)
	self.icon = 'mute-icon.png'

]:
	i: 
	o: 

self.nodes: {6: <unpyclib.structure.node instance at 0xb775724c>}
nname: 0
n 0(None)[from __future__ import absolute_import
__all__ = ['SoundLevelWindow', 'MuteWindow']
from .core import Window, gui_updater
from pygui.eventmanager.windows import CancelOnlyEventHandler
from pygui.eventmanager import NullEventHandler
class SoundLevelWindow(Window):
	__doc__ = '\n    A simple window showing current sound level\n    '
	type = 'soundlevel'
	_progress = 0
	_mute = False
	def __init__(self, title='Sound', description=''):
		Window.__init__(self)
		self.title = title
		self.eventhandler = NullEventHandler(self)

	def _get_progress(self):
		return self._progress

	_set_progress = gui_updater()
	progress = property(_get_progress, _set_progress)
	del _get_progress
	del _set_progress
	def _get_mute(self):
		return self._mute

	def _set_mute(self, mute):
		self._mute = mute

	mute = property(_get_mute, _set_mute)
	del _get_mute
	del _set_mute
	def _get_icon(self):
		if self.mute:
			pass
		return 'volume-icon.png'

	icon = property(_get_icon)


class MuteWindow(Window):
	__doc__ = '\n    A simple window showing current Mute state\n    '
	type = 'mute'
	persistent = True
	def __init__(self, title='Mute', description=''):
		Window.__init__(self)
		self.title = title
		self.eventhandler = NullEventHandler(self)
		self.icon = 'mute-icon.png'



]:
	i: 
	o: 

self.nodes: {0: <unpyclib.structure.node instance at 0xb775064c>}
from __future__ import absolute_import
__all__ = ['SoundLevelWindow', 'MuteWindow']
from .core import Window, gui_updater
from pygui.eventmanager.windows import CancelOnlyEventHandler
from pygui.eventmanager import NullEventHandler
class SoundLevelWindow(Window):
	__doc__ = '\n    A simple window showing current sound level\n    '
	type = 'soundlevel'
	_progress = 0
	_mute = False
	def __init__(self, title='Sound', description=''):
		Window.__init__(self)
		self.title = title
		self.eventhandler = NullEventHandler(self)

	def _get_progress(self):
		return self._progress

	_set_progress = gui_updater()
	progress = property(_get_progress, _set_progress)
	del _get_progress
	del _set_progress
	def _get_mute(self):
		return self._mute

	def _set_mute(self, mute):
		self._mute = mute

	mute = property(_get_mute, _set_mute)
	del _get_mute
	del _set_mute
	def _get_icon(self):
		if self.mute:
			pass
		return 'volume-icon.png'

	icon = property(_get_icon)


class MuteWindow(Window):
	__doc__ = '\n    A simple window showing current Mute state\n    '
	type = 'mute'
	persistent = True
	def __init__(self, title='Mute', description=''):
		Window.__init__(self)
		self.title = title
		self.eventhandler = NullEventHandler(self)
		self.icon = 'mute-icon.png'



